<style>
.mod-group {
    margin: 0 auto;
	margin-top: 5px;
    width: 94%;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.fui-icon-group .fui-icon-col-sm {
    margin:10px 0;
}
.badge {
    left: 2rem;
    top: 0;
}
.triangle {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #59bdbb;
	line-height:1;
 }
</style>
<div class='fui-page fui-page-current' ng-if="pagedata.op=='main'">
	<div class='fui-content' style="top:0;background:#f2f5fc">
		<div style="top:0;background: linear-gradient(to bottom, #f8dfd8, #f2f5fc);">
		<div class="bottombg" style="padding:1rem 0.7rem;padding-bottom:0.2rem;">
			<div class="bold" style="font-size:1rem">AI舌诊记录，</div>
			<div class="fui-page-desc gray">持续监测指标变化，有利于跟踪病情发展趋势！</div>
		</div>
		<div class="bottombg" style="padding:0.5rem;">
		<div class="fui-cell-group radius" ng-repeat="item in pagedata.list" href="javascript:;" ng-click="access_json('jy_aixiaoyi/shelog/detail/id='+item.id)">	
			<div class="fui-cell" style="align-items:stretch">
				<div class="fui-cell-text">
					<div class="fui-cellone" style="padding:0.2rem;border-radius:0.2rem;border: 2px solid #7eacde;background:#f2f5fc">
						<div class="fui-cellone-label" style="width:2.2rem">
							<img style="width:2rem;height:2rem" ng-src="{{tomedia(item.content.cutTongue||item.image)}}"/>
						</div>
						<div class="fui-cellone-text c" style="width:3rem">
							<div style="color:#666;">{{item.probability}}</div>
							<div style="border-radius:1rem;background:#7eacde;color:#fff">{{item.content.picQuality.type}}</div>
						</div>
					</div>
				</div>
				<div class="fui-cell-text"></div>
				<div class="fui-cell-remark noremark">
					<div class="gray">{{item.createtime}}</div>
				</div>
			</div>
			<div class="fui-cell" style="padding-top:0.3rem">
				<div class="fui-cell-text">
					<div class="text bold" style="font-size:0.65rem;color:#5c5c5c">{{item.jieguodesc || '证型的病机概要'}}</div>
					<div class="gray" style="font-size:0.55rem">{{item.tiaolidesc || '证型对应的治则治法'}}</div>
				</div>
			</div>
		</div>
		<div ng-if="!pagedata.loading && (!pagedata.list || pagedata.list.length<1)" class='content-empty' style="margin-top:0">
					<i class='icon icon-cry' style="font-size:1.5rem"></i><br/>暂时没有任何舌诊记录
		</div>
		</div>
		</div>
		<div ng-include="sys_html('common/_copyright',true)"></div>
	</div>
</div>
<div class='fui-page fui-page-current' ng-if="pagedata.op=='detail'">
	<div class='fui-content' style="top:0;background:#f2f5fc">
		<div style="top:0;background: linear-gradient(to bottom, #ddeff3, #f2f5fc);">
		<div class="bottombg" style="padding:1rem 0.7rem;padding-bottom:0.2rem;">
			<div class="fui-cellone" style="padding:0.2rem">
				<div class="fui-cellone-label" style="width:auto;padding-right:0.4rem">
					<img style="width:3rem;height:3rem;border-radius:100%;border: 2px solid #fff;" ng-src="{{tomedia(pagedata.memberbasic.avatar)}}"/>
				</div>
				<div class="fui-cellone-text">
					<div class="text bold" style="font-size:0.65rem;color:#5c5c5c">{{pagedata.member.nickname || '昵称'}}</div>
					<div class="gray" style="font-size:0.55rem">{{pagedata.item.createtime}}</div>
				</div>
				<div class="fui-cellone-text">
					<div class="fui-cellone" style="padding:0.2rem;border-radius:0.2rem;border: 2px solid #7eacde;background:#f2f5fc">
						<div class="fui-cellone-label" style="width:2.2rem">
							<img style="width:2rem;height:2rem" ng-src="{{tomedia(pagedata.item.content.cutTongue||pagedata.item.image)}}"/>
						</div>
						<div class="fui-cellone-text c" style="width:3rem">
							<div style="color:#666;">{{pagedata.item.probability}}</div>
							<div style="border-radius:1rem;background:#7eacde;color:#fff">{{pagedata.item.content.picQuality.type}}</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="bottombg" style="padding:0.5rem;">
			<div class="fui-tab-scroll" style="margin-top:0;padding-left:0.5rem">
				<div ng-class="{'item':1,'on':pagedata.type!=1}" style="height:2rem;line-height:2rem;position: relative;"><a href="javascript:;" ng-click="pagedata.type=0">诊断报告</a></div>
				<div ng-class="{'item':1,'on':pagedata.type==1}" style="height:2rem;line-height:2rem;position: relative;"><a href="javascript:;" ng-click="pagedata.type=1">调理方案</a></div>
			</div>
			<div ng-if="pagedata.type!=1">
			<div style="background:#ffff;border-radius:0.5rem;padding:0.5rem;">
				<div style="border-left: 0.3em #f2f5fc solid;padding-left:0.3rem"><span class="bold" style="font-size:0.8rem">诊断结果</span></div>
				<div class="text" style="padding:0 0.5rem">
				{{pagedata.item.jieguodesc ||'新版证型的病机概要'}}
				</div>
			</div>
			<div style="background:#ffff;border-radius:0.5rem;padding:0.5rem;margin-top:0.5rem">
				<div style="border-left: 0.3em #f2f5fc solid;padding-left:0.3rem"><span class="bold" style="font-size:0.8rem">舌色</span></div>
				<div style="padding:0.3rem 0;padding-top:0.5rem">
				<div class="fui-cellone" style="padding:0;">
					<div class="fui-cellone-text c" style="height:7px"><span ng-if="pagedata.item.shese=='淡白舌'" class="triangle"></span></div>
					<div class="fui-cellone-text c" style="height:7px"><span ng-if="pagedata.item.shese=='淡红舌'" class="triangle"></span></div>
					<div class="fui-cellone-text c" style="height:7px"><span ng-if="pagedata.item.shese=='红舌'" class="triangle"></span></div>
					<div class="fui-cellone-text c" style="height:7px"><span ng-if="pagedata.item.shese=='紫舌'" class="triangle"></span></div>
					<div class="fui-cellone-text c" style="height:7px"></div>
				</div>
				<div class="fui-cellone" style="padding:0;border-radius:0.2rem;background:#f2f2f2">
					<div class="fui-cellone-text" style="height:0.4rem"></div>
					<div class="fui-cellone-text" style="background:#fcd7d1;height:0.4rem"></div>
					<div class="fui-cellone-text" style="background:#fd807a;height:0.4rem"></div>
					<div class="fui-cellone-text" style="background:#e42200;height:0.4rem"></div>
					<div class="fui-cellone-text" style="background:#a52dcc;height:0.4rem;border-top-right-radius:0.2rem;border-bottom-right-radius:0.2rem"></div>
				</div>
				<div class="fui-cellone" style="padding:0;padding-top:0.5rem">
					<div class="fui-cellone-text c">淡白</div>
					<div class="fui-cellone-text c">淡红</div>
					<div class="fui-cellone-text c">红</div>
					<div class="fui-cellone-text c">绛红</div>
					<div class="fui-cellone-text c">青红</div>
				</div>
				</div>
			</div>
			<div style="background:#ffff;border-radius:0.5rem;padding:0.5rem;margin-top:0.5rem">
				<div style="border-left: 0.3em #f2f5fc solid;padding-left:0.3rem"><span class="bold" style="font-size:0.8rem">舌行</span></div>
				<div class="text" style="padding:0 0.5rem">
				{{pagedata.item.shexing ||'舌行概要'}}
				</div>
			</div>
			<div style="background:#ffff;border-radius:0.5rem;padding:0.5rem;margin-top:0.5rem">
				<div style="border-left: 0.3em #f2f5fc solid;padding-left:0.3rem"><span class="bold" style="font-size:0.8rem">苔色</span></div>
				<div style="padding:0.3rem 0;padding-top:0.5rem">
				<div class="fui-cellone" style="padding:0;">
					<div class="fui-cellone-text c" style="height:7px"><span ng-if="pagedata.item.taise=='白苔'" class="triangle"></span></div>
					<div class="fui-cellone-text c" style="height:7px"><span ng-if="pagedata.item.taise=='黄苔'" class="triangle"></span></div>
					<div class="fui-cellone-text c" style="height:7px"><span ng-if="pagedata.item.taise=='灰黑'" class="triangle"></span></div>
				</div>
				<div class="fui-cellone" style="padding:0;border-radius:0.2rem;background:#f2f2f2">
					<div class="fui-cellone-text" style="height:0.4rem"></div>
					<div class="fui-cellone-text" style="background:#ffdc92;height:0.4rem"></div>
					<div class="fui-cellone-text" style="background:#c4c4c4;height:0.4rem;border-top-right-radius:0.2rem;border-bottom-right-radius:0.2rem"></div>
				</div>
				<div class="fui-cellone" style="padding:0;padding-top:0.5rem">
					<div class="fui-cellone-text c">淡白</div>
					<div class="fui-cellone-text c">黄色</div>
					<div class="fui-cellone-text c">灰黑</div>
				</div>
				</div>
			</div>
			<div style="background:#ffff;border-radius:0.5rem;padding:0.5rem;margin-top:0.5rem">
				<div style="border-left: 0.3em #f2f5fc solid;padding-left:0.3rem"><span class="bold" style="font-size:0.8rem">苔质</span></div>
				<div class="text" style="padding:0 0.5rem">
				{{pagedata.item.taixing ||'苔质概要'}}
				</div>
			</div>
			</div>
			<div ng-if="pagedata.type==1">
				<div style="background:#ffff;border-radius:0.5rem;padding:0.5rem;">
					<div style="border-left: 0.3em #f2f5fc solid;padding-left:0.3rem"><span class="bold" style="font-size:0.8rem">病症介绍</span></div>
					<div class="text" style="padding:0 0.5rem">
					{{pagedata.item.jieguodesc ||'证型的病机概要'}}
					</div>
				</div>
				<div style="background:#ffff;border-radius:0.5rem;padding:0.5rem;margin-top:0.5rem">
					<div style="border-left: 0.3em #f2f5fc solid;padding-left:0.3rem"><span class="bold" style="font-size:0.8rem">调理建议</span></div>
					<div class="text" style="padding:0 0.5rem">
					{{pagedata.item.tiaolidesc ||'对应的治则治法'}}
					</div>
				</div>
				<div style="background:#ffff;border-radius:0.5rem;padding:0.5rem;margin-top:0.5rem">
					<div style="border-left: 0.3em #f2f5fc solid;padding-left:0.3rem"><span class="bold" style="font-size:0.8rem">药理建议</span></div>
					<div class="text" style="padding:0 0.5rem">
					{{pagedata.item.yaodesc}}</br>
					{{pagedata.item.tiaolidesc2}}
					</div>
				</div>
			</div>
		</div>
		</div>
		<div ng-include="sys_html('common/_copyright',true)"></div>
	</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.tool.get_list('/shelog/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('/shelog/list/');
}
</script>